package QuestionNum_10_1_1;

public class Programmer extends Employee{
    public Programmer() {
    }

    public Programmer(String name, int idNum, double salary) {
        super(name, idNum, salary);
    }

    void work(){
        System.out.println("姓名:"+getName()+"编号:"+getIdNum()+"工资:"+getSalary());
    }
}
